#ifndef BASETYPE_H
#define BASETYPE_H

#ifndef NULL
#ifdef __cplusplus
#define NULL    0
#else
#define NULL    ((void *)0)
#endif
#endif

typedef enum{
    FFALSE = 0,
    FTRUE = 1
}FBOOL;

typedef unsigned long long _U64;
typedef unsigned int       _U32;
typedef unsigned short     _U16;
typedef unsigned char      _U8;

typedef signed long  long  _S64;
typedef signed int         _S32;
typedef signed short       _S16;
typedef signed char        _S8;

typedef double             _F64;
typedef float              _F32;

typedef char               _CHAR;
typedef void               _VOID;

#define  FAILURE     (-1)
#define  SUCCESS      (0)

#endif // BASETYPE_H
